<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<div class="table-responsive">
<table class="cntable table table-bordered dataTable table-fanhuaCar ">
	<thead>
		<tr>
			<th style="width:50px">序号</th>
			<th style="width:80px">任务号</th>
			<th style="width:100px">任务状态</th>
			<th style="width:100px">保险公司名称</th>
			<th style="width:100px">车主姓名</th> 
			<th style="width:100px">车主电话</th> 
			<th style="width:100px">车牌</th>
			<th style="width:100px">车型</th>	
			<th style="width:100px">车辆使用性质</th> 
			<th style="width:100px">创建时间</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="fanhuaCar" items="${fanhuaCars}" varStatus="status">
			<tr data-id="${fanhuaCar.id}">
				<td>${status.index+1}</td>
				<td>${fanhuaCar.taskId}</td>
				<td>
					<t:provider packageName="insu" enumClassName="FanhuaCarTaskState" value="${fanhuaCar.taskState}"/> 
				</td>
				<td>${fanhuaCar.prvName}</td>
				<td>${fanhuaCar.carOwnerName}</td>
				<td>${fanhuaCar.carOwnerPhone}</td>
				<td>${fanhuaCar.carLicenseNo}</td>
				<td>${fanhuaCar.vehicleName}</td>
				<td>
					<t:provider packageName="insu" enumClassName="FanhuaCarProperty" value="${fanhuaCar.carProperty}"/> 
				</td>
				<td>
					<fmt:formatDate value="${fanhuaCar.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<th class="pager-th absolute-pos">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>
</div>